const mongoose = require('mongoose')
const Schame = mongoose.Schema
const { plugin } = require('./plugin/index')
const Librariesmin = new Schame({
    name: {
        type: String,
        required: true,
    },
    desc: {
        type: String,
        default: null
    },
    stars: {
        type: Number,
        default: 0,
    }
})
Librariesmin.plugin(plugin)
module.exports = mongoose.model('Librariesmin', Librariesmin)